package model.database;

import java.util.HashMap;
import java.util.List;

import model.base.Company;
import model.base.Department;

//Usado por AccessDAOFactory, DAOFactory, HIbernateDAOFactory, CompanyFacade
public interface CompanyDAO {
	public Company findCompany(long cid);
	public List findCompanybyResource(long rid);
	public Company createCompany(Company c);
	public void updateCompany(Company c);
    public Department findDepartment(long departmentid);
	public List findDepartments(Company company);
}
